home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2011 November
/
CHIP_2011_11.iso
/
Programy
/
Inne
/
Gry
/
GNU_Backgammon
/
gnubg-MAIN-20110822-setup.exe
/
{app}
/
CleanupInstall.bat
< prev
next >
Wrap
DOS Batch File
|
2008-04-16
|
774b
|
29 lines
@set gnubgprefdir=%1%\..\.gnubg
@echo.
@echo GNUbackgammon prefenence directory is supposed to be:
@echo %gnubgprefdir%
@echo.
@if exist %gnubgprefdir% goto found
@echo GNUbackgammon preferences directory not found, nothing to delete.
@goto :end
:found
@echo ATTENTION: deleting the GNUbackgammon prefernce directory will delete
@echo all your settings and all the eventual database files present.
@echo.
@set choice=
@set /P choice="GNUbackgammon preferences directory found, delete it [y/n] ?"
@echo.
@if '%choice%'=='y' (
@rmdir /S /Q %gnubgprefdir%
@if not exist %gnubgprefdir% (
@echo GNUbackgammon preferences directory deleted.
@goto end
)
)
@echo GNUbackgammon preferences directory still present.
:end
@echo.
@pause
@cls